﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Inmobiliaria.Services.Core.DTO
{
    [DataContract(IsReference = true)]
    public class DtoListaInmueble
    {
        public DtoListaInmueble()
        {
        }
        /// <summary>
        /// //////Persona
        /// </summary>

        [DataMember]
        public string Nombre { get; set; }
        [DataMember]
        public string Apellido { get; set; }
        [DataMember]
        public string Email { get; set; }
        [DataMember]
        public string Email2 { get; set; }
        [DataMember]
        public string Telefono { get; set; }
        [DataMember]
        public string Celular { get; set; }
        [DataMember]
        public string CodTelefono { get; set; }
        [DataMember]
        public string CodCelular { get; set; }
        [DataMember]
        public string Vendedor { get; set; }

        /// <summary>
        /// //////Inmobiliaria
        /// </summary>

        [DataMember]
        public string NombreInmobiliaria2 { get; set; }
        [DataMember]
        public string EmailInmobiliaria { get; set; }
        [DataMember]
        public string Email2Inmobiliaria { get; set; }
        [DataMember]
        public string TelefonoInmobiliaria { get; set; }
        [DataMember]
        public string CelularInmobiliaria { get; set; }
        [DataMember]
        public string CodTelefonoInmobiliaria { get; set; }
        [DataMember]
        public string CodCelularInmobiliaria { get; set; }
        [DataMember]
        public string Telefono2 { get; set; }
        [DataMember]
        public string Celular2 { get; set; }
        [DataMember]
        public string CodTelefono2 { get; set; }
        [DataMember]
        public string CodCelular2 { get; set; }
        [DataMember]
        public virtual int ProvinciaInmo { get; set; }
        [DataMember]
        public virtual int LocalidadInmo { get; set; }
        [DataMember]
        public virtual string Facebook { get; set; }
        [DataMember]
        public virtual string SitioWeb { get; set; }
        [DataMember]
        public virtual string CalleInmobiliaria { get; set; }
        [DataMember]
        public virtual string AlturaInmobiliaria { get; set; }


        /// <summary>
        /// //////Inmueble
        /// </summary>

        [DataMember]
        public virtual int TipoInmueble { get; set; }
        [DataMember]
        public string Transaccion { get; set; }
        [DataMember]
        public virtual int Provincia { get; set; }
        [DataMember]
        public virtual int Localidad { get; set; }
        [DataMember]
        public virtual int Barrio { get; set; }
        [DataMember]
        public string Calle { get; set; }
        [DataMember]
        public string Altura { get; set; }
        [DataMember]
        public string Lote { get; set; }
        [DataMember]
        public string SuperficieCubierta { get; set; }
        [DataMember]
        public string Habitaciones { get; set; }
        [DataMember]
        public string Baños { get; set; }
        [DataMember]
        public string Living { get; set; }
        [DataMember]
        public string Comedor { get; set; }
        [DataMember]
        public string Cocina { get; set; }
        [DataMember]
        public string Patio { get; set; }
        [DataMember]
        public string Jardin { get; set; }
        [DataMember]
        public string Balcon { get; set; }
        [DataMember]
        public string Terraza { get; set; }
        [DataMember]
        public string Quincho { get; set; }
        [DataMember]
        public string Parrilla { get; set; }
        [DataMember]
        public string Agua { get; set; }
        [DataMember]
        public string Luz { get; set; }
        [DataMember]
        public string Gas { get; set; }
        [DataMember]
        public string TelefonoInmueble { get; set; }
        [DataMember]
        public string Cloacas { get; set; }
        [DataMember]
        public string Asfalto { get; set; }
        [DataMember]
        public string Descripcion { get; set; }
        [DataMember]
        public string ValorInmueble { get; set; }
        [DataMember]
        public string TipoMoneda { get; set; }
        [DataMember]
        public string Dolar { get; set; }
        [DataMember]
        public string Pesos { get; set; }
        [DataMember]
        public int id { get; set; }
        [DataMember]
        public byte[] Foto1 { get; set; }
        [DataMember]
        public byte[] Foto2 { get; set; }
        [DataMember]
        public byte[] Foto3 { get; set; }
        [DataMember]
        public byte[] Foto4 { get; set; }
        [DataMember]
        public byte[] Foto5 { get; set; }
        [DataMember]
        public int IdInmueble { get; set; }
        [DataMember]
        public virtual int IdPersona { get; set; }
        [DataMember]
        public string NombreProvincia { get; set; }
        [DataMember]
        public string NombreLocalidad { get; set; }
        [DataMember]
        public string NombreBarrio { get; set; }
        [DataMember]
        public string TipoVendedor { get; set; }
        [DataMember]
        public virtual int idInmobiliaria { get; set; }
        [DataMember]
        public string NombreInmobiliaria { get; set; }
        [DataMember]
        private string _Provincia = string.Empty;
        public virtual string Provin
        {
            get
            {
                if (this.NombreProvincia != null)
                {
                    _Provincia = NombreProvincia;
                }
                return _Provincia;
            }
            set
            {
                _Provincia = value;
            }
        }
        private string _Localidad = string.Empty;
        public virtual string _Local
        {
            get
            {
                if (this.NombreLocalidad != null)
                {
                    _Localidad = NombreLocalidad;
                }
                return _Localidad;
            }
            set
            {
                _Localidad = value;
            }
        }
        private string _Barrio = string.Empty;
        public virtual string _Barr
        {
            get
            {
                if (this.NombreBarrio != null)
                {
                    _Barrio = NombreBarrio;
                }
                return _Barrio;
            }
            set
            {
                _Barrio = value;
            }
        }
    }
}
